#include"stm32f10x.h"
#include"Delay.h"
#include"LED.h"
#include"Key.h"
#include"Buzzer.h"
#include"LightSensor.h"

int main(){
	Buzzer_Init();
	LightSensor_Init();
	while(1){
		if(LightSensor_Read() == 1){
			Buzzer_ON();
			Delay_ms(3000);
		}else{
			Buzzer_OFF();
		}
	}
}
